/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"A11035E9-1505-4063-8A41-F634FD895EDF",variableType:8}
 */
var gProveSeleccionado = null;

/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"888E6FB0-3FA8-458E-AEAE-574B952EADE0",variableType:8}
 */
var gHotelSeleccionado = null;

/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"12659E17-6C27-4FA4-A217-ACC1D2F655B2",variableType:4}
 */
var gValorUno = 1;

/**
 * Handle focus gained event of the element.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"2579050B-1399-440B-8190-48608107D1E3"}
 */
function gBorrarEspacios(event) {
	var $form = event.getFormName()
	var $elemento = event.getElementName()
	var $campo = forms[$form].elements[$elemento].getDataProviderID()
	
	forms[$form][$campo] = utils.stringTrim(forms[$form][$campo])
}
